﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/HeadMasterPage.master" AutoEventWireup="true" CodeFile="movieresult.aspx.cs" Inherits="User_movieresult" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
      <div data-am-widget="list_news" class="am-list-news am-list-news-default">
                    <div class="am-list-news-hd am-cf">
                        <!--带更多链接-->
                        <a href="##" class="">
                            <h2>搜索结果</h2>
                        </a>
                    </div>
                    <div class="am-list-news-bd">
                        <ul class="am-list">
                            <% 
                                if (Application["data"] != null)
                                {
                                    foreach (MoviesWeb.Model.Movies mo in (Application["data"] as List<MoviesWeb.Model.Movies>))
                                    {
                                        String time = "";
                                        try { time = ((DateTime)mo.Mv_uptime).ToString("yyyy-MM-dd"); }
                                        catch { ; }
                            %>
                            <li class="am-g am-list-item-dated">
                                <a href="/User/inf.aspx?id=<%=mo.Mv_id %>" class="am-list-item-hd ">《<%=mo.Mv_name%>》--<%=mo.Mv_wordintroduce %></a>
                                <span class="am-list-date"><%=time%></span>
                            </li>
                            <%  }
                                }
                                else
                                {%>
                            <li class="am-g am-list-item-dated">
                                <a href="##" class="am-list-item-hd ">暂时没有资源</a>
                                <span class="am-list-date"><%= DateTime.Now %></span>
                            </li>
                            <%}                             
                            %>
                        </ul>
                    </div>
                </div>
</asp:Content>

